efi_loader: Fix GOP 32bpp exposure
authorAlexander Graf <[email protected]>
Tue, 19 Jun 2018 11:34:54 +0000 (13:34 +0200)
committerAlexander Graf <[email protected]>
Thu, 21 Jun 2018 15:18:18 +0000 (17:18 +0200)
commit6fc2c704d40255e418857b60e86cf8d76fbcda4b
tree7485dd780b7f19c1caad6c796b8284d809a9a831
parenta5742efa20384a27d51ee6c43d02c2025536c65d
efi_loader: Fix GOP 32bpp exposure

We store pixels as BGRA in memory, as can be seen from struct efi_gop_pixel.
So we need to expose the same format to UEFI payloads to actually have them
use the correct colors.

Reported-by: Fabian Vogt <[email protected]>
Tested-by: Peter Robinson <[email protected]>
Reviewed-by: Heinrich Schuchardt <[email protected]>
Signed-off-by: Alexander Graf <[email protected]>
lib/efi_loader/efi_gop.c